package com.travelshare.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.travelshare.common.annotation.Excel;
import com.travelshare.common.core.domain.TreeEntity;

/**
 * 栏目信息对象 tb_info_column
 * 
 * @author travelshare
 * @date 2024-02-22
 */
public class InfoColumn extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long columnId;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String columnName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String state;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    
    private String isOpen;
    
    private String isDetail;
    
    private String isIndex;
    
    private String isPic;
    
    private String columnIcon;

    public String getColumnIcon() {
		return columnIcon;
	}

	public void setColumnIcon(String columnIcon) {
		this.columnIcon = columnIcon;
	}

	public String getIsIndex() {
		return isIndex;
	}

	public void setIsIndex(String isIndex) {
		this.isIndex = isIndex;
	}

	public String getIsPic() {
		return isPic;
	}

	public void setIsPic(String isPic) {
		this.isPic = isPic;
	}

	public String getIsDetail() {
		return isDetail;
	}

	public void setIsDetail(String isDetail) {
		this.isDetail = isDetail;
	}

	public String getIsOpen() {
		return isOpen;
	}

	public void setIsOpen(String isOpen) {
		this.isOpen = isOpen;
	}

	public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("columnId", getColumnId())
            .append("parentId", getParentId())
            .append("columnName", getColumnName())
            .append("orderNum", getOrderNum())
            .append("state", getState())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
